package com.vca.common.response;

import com.alibaba.fastjson.JSONArray;
import com.vca.common.model.vca_product.VcaProductAttr;
import com.vca.common.vo.PublicationInfoVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.HashMap;
import java.util.List;

/**
 * @author chenbing
 * @date 2022/11/17   14:32
 */
@Data
public class ShopResponse {
    @ApiModelProperty(value = "shopId")
    private Integer shopId;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "英文商品名称")
    private String nameEn;

    @ApiModelProperty(value = "商品详情")
    private PublicationInfoVo tabInfo;

    @ApiModelProperty(value = "标签颜色")
    private String typeLabelColor;

    @ApiModelProperty(value = "商品类型名称")
    private String typeName;

    @ApiModelProperty(value = "英文商品类型名称")
    private String typeNameEn;

    @ApiModelProperty(value = "商品类型 0=souvenir 1=publication 2=giftcertificate")
    private Integer type;

    @ApiModelProperty(value = "商品描述")
    private String introduction;

    @ApiModelProperty(value = "英文商品描述")
    private String introductionEn;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal price;

    @ApiModelProperty(value = "库存")
    private Integer availability;

    @ApiModelProperty(value = "商品封面图")
    private String cover;

    @ApiModelProperty(value = "商品播图")
    private JSONArray carouselMap;

    @ApiModelProperty(value = "是否收藏 false=未收藏 true=已收藏")
    private Boolean isCollection = false;

    @ApiModelProperty(value = "状态（0：未上架，1：上架）")
    private Boolean status;

    @ApiModelProperty(value = "是否删除")
    private Integer isDeleted;

    @ApiModelProperty(value = "商品属性")
    private List<VcaProductAttr> shopAttrs;

    @ApiModelProperty(value = "商品属性详情")
    private HashMap<String, Object> shopValue;

    @ApiModelProperty(value = "主图视频")
    private String mainPictureVideo;

    @ApiModelProperty(value = "分享海报")
    private String sharePoster;

    @ApiModelProperty(value = "主图视频-宽")
    private Integer mainPictureVideoWidth;

    @ApiModelProperty(value = "主图视频-高")
    private Integer mainPictureVideoHeight;

    @ApiModelProperty(value = "相关课程 推荐")
    private List<CourseAboutResponse> eventRecommendations;

    @ApiModelProperty(value = "你可能喜欢的商品 推荐")
    private List<CourseAboutResponse> shopRecommendations;

    @ApiModelProperty(value = "相关出版物推荐")
    private List<CourseAboutResponse> publicationRecommendations;

}
